package com.thingsgrid.firmware.service;

import java.util.List;
import java.util.Map;

public interface FirmwareVersionService {

	List GetProductTypeList();

	List GetProductNameList(String productTypeId);

	List GetFirmwareNameList(String productName);

	Map QueryFirmwareListByCondition(String productType, String productName, String firmwareName, int current, int pageSize);

	int AddNewFirmware(String firmwareName, String firmwareVersion, String productName, String firmwareSign, String describe, String firmwareFile);

	boolean DelFirmwareList(String firmwareId);

	List GetdeviceNameList(String productId);

	boolean UpdateStats(String firmwareId, int upgradeType);

	List GetAllProductNameList();

}
